Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@daemonhorn
daemonhorn / freebsd_yubikey_authentication.md
Last active May 14, 2026 12:21
Setting up yubikey/solo2 for piv, fido, and gpg on FreeBSD (Firefox, Chromium, PAM, SSH, and GnuPG)

Overview

How to configure FreeBSD and applicable applications to work with Yubikey for authentication. This serves as my work-in-progress documentation of the configuration knobs needed to make this work properly.

  • FreeBSD ssh with piv smartcard slot on Yubikey (pkcs11 via libykcs11.so)
  • FreeBSD ssh with fido support on Yubikey
  • FreeBSD Firefox/Chromium with fido + webauthn support on Yubikey
  • FreeBSD local console and gdm authentication using pam on Yubikey
  • FreeBSD official YubiKey tools

Latest Tested FreeBSD versions

  • FreeBSD 13.2 Testing (Aug 2023)
  • FreeBSD stable/13 Testing (Aug 2023) with OpenSSH_9.3p2
@GutsyMillie
GutsyMillie / ping_flood.py
Created April 9, 2022 09:24
Ping flooding with Python using threading
#!/usr/bin/env python3
import threading
import os
threads = []
thread_number = 5
counts = 50
delay = 0.2
verbose = True
@rohitg00
rohitg00 / llm-wiki.md
Last active May 14, 2026 12:20 — forked from karpathy/llm-wiki.md
LLM Wiki v2 — extending Karpathy's LLM Wiki pattern with lessons from building agentmemory

LLM Wiki v2

A pattern for building personal knowledge bases using LLMs. Extended with lessons from building agentmemory, a persistent memory engine for AI coding agents.

This builds on Andrej Karpathy's original LLM Wiki idea file. Everything in the original still applies. This document adds what we learned running the pattern in production: what breaks at scale, what's missing, and what separates a wiki that stays useful from one that rots.

What the original gets right

The core insight is correct: stop re-deriving, start compiling. RAG retrieves and forgets. A wiki accumulates and compounds. The three-layer architecture (raw sources, wiki, schema) works. The operations (ingest, query, lint) cover the basics. If you haven't read the original, start there.

@ih2502mk
ih2502mk / list.md
Last active May 14, 2026 12:17
Quantopian Lectures Saved
/*
* Copyright 2026 Kyriakos Georgiopoulos
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@faizsaad232
faizsaad232 / .config
Created May 10, 2026 11:33 — forked from koreapyj/.config
OpenWrt with Asterisk 18 for Quectel RM500Q-GL
CONFIG_ALL_KMODS=y
CONFIG_ALL_NONSHARED=y
CONFIG_DEVEL=y
CONFIG_BUSYBOX_CUSTOM=y
CONFIG_AUTOREMOVE=y
CONFIG_BPF_TOOLCHAIN_BUILD_LLVM=y
# CONFIG_BPF_TOOLCHAIN_NONE is not set
CONFIG_BUILDBOT=y
CONFIG_BUILD_LOG=y
# CONFIG_BUSYBOX_CONFIG_VI is not set
@dominicstop
dominicstop / kill_adobe.command
Last active May 14, 2026 12:07
Force Kill/Terminate All Adobe-Related Process and Apps in MacOS
declare -a adobeProcessList=('AdobeCRDaemon' 'AdobeIPCBroker' 'com.adobe.acc.installer.v2' 'CCXProcess.app' 'CCLibrary.app' 'Adobe CEF Helper' 'Core Sync' 'Creative Cloud Helper' 'Adobe Desktop Service' 'Creative Cloud');
for processName in "${adobeProcessList[@]}"; do
pgrep -f "$(echo $processName)" > /dev/null;
if [ $? -ne 0 ]; then
echo "process not running, skipping: ${processName}";
continue;
fi;